<?php
include_once('twitter.php');

$curTwitter = new twitter("jesusvld", "webmaster");

	$twitter_status = $_POST['twitter_msn'];
	
	if (strlen($twitter_status) > 0) {

		if( $curTwitter->setStatus($twitter_status) == true)
			echo "Updated Succesfully";
		else
			echo "Twitter is unavailable at this time";
	}else{
		echo "Error: I won't send blank messages!";
	}

?>
